package com.it.achensenArraylist;

public class Test {

    public static void main(String[] args) {

        System.out.println("提交git代码第一次");
        Student []  arrstudents = new Student[3];

        Student student = new Student("李四",25);
        Student student1 = new Student("李白",23);
        Student student2 = new Student("李黑",24);
        arrstudents[0] = student;
        arrstudents[1] = student1;
        arrstudents[2] = student2;

        for (int i = 0; i < arrstudents.length; i++) {

            Student  studentinformation = arrstudents[i];
            System.out.println(studentinformation.getAge()+studentinformation.getName());

        }
    }
}
